package com.example.courseselectionsystemconsume.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;

/**
 * @description: TODO
 * @author: Tokyo_God
 * @date: 2021/1/9 22:19
 * Role of:
 * @version: v1.0
 */
@Configuration
public class Quartz2Config {
    @Bean
    public ThreadPoolTaskScheduler threadPoolTaskScheduler() {
        return new ThreadPoolTaskScheduler();
    }
}
